{% extends "base.html" %}

{% block title %}首页{% endblock %}

{% block content %}
    <h1 class="text-center mb-4">欢迎使用个人记账应用</h1>
    <div class="row text-center">
        <div class="col-12 mb-3">
            <a href="{{ url_for('add_expense_page') }}" class="btn btn-primary btn-lg">添加消费记录</a>
        </div>
        <div class="col-12 mb-3">
            <a href="{{ url_for('view_expenses') }}" class="btn btn-secondary btn-lg">查看消费记录</a>
        </div>
        <div class="col-12 mb-3">
            <a href="{{ url_for('view_charts') }}" class="btn btn-info btn-lg">查看统计图表</a>
        </div>
    </div>
{% endblock %}